<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
  <nav class="navbar navbar-default navbar-fixed-top">
  	<div class="container">
  	    <div class="navbar-header"> 
            <a class="navbar-brand" href="#">G20的个人博客</a>
            <button type="button" class="navbar-toggle" data-toggle="collapse"
                data-target="#example-navbar-collapse">
            	<span class="sr-only">切换导航</span>
            	<span class="icon-bar"></span>
            	<span class="icon-bar"></span>
            	<span class="icon-bar"></span>
        	</button>
        </div> 
        <div class="collapse navbar-collapse" id="example-navbar-collapse">
        <ul class="nav navbar-nav navbar-right"> 
            <li name="navs" <c:if test="${sessionScope.nav_type eq 'article'}"> class="active"</c:if>><a  href="<c:url value="/article/out"/>">日志</a></li> 
            <li name="navs" <c:if test="${sessionScope.nav_type eq 'demos'}"> class="active"</c:if>><a  href="<c:url value="/demo/out"/>">案列</a></li>
            <%-- <li name="navs" <c:if test=""> class="active"</c:if>><a  href="<c:url value="/?name=service"/>">服务</a></li>
            <li name="navs" <c:if test=""> class="active"</c:if>><a  href="<c:url value="/?name=games"/>"> 小游戏</a></li> --%>
            <li name="navs" <c:if test="${sessionScope.nav_type eq 'bbs'}"> class="active"</c:if>><a  href="<c:url value="/bbs/out"/>"> 留言</a></li>
            <li name="navs" <c:if test="${sessionScope.nav_type eq 'aboutme'}"> class="active"</c:if>><a  href="<c:url value="/aboutme/out"/>"> 关于我</a></li>
            <li name="navs"><a  href="<c:url value="/login/backLogin" />">后台登录</a></li>
        </ul> 
        </div>
  	</div>
   </nav>